﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Circle.Domain.Interface.Service;
using Circle.Domain.Entity;
using Circle.Web.ViewModelsClient;
using Circle.Domain.Model;

namespace Circle.Web.Drivers.Contract
{
    public interface ICommentDriver : IEntityConvertableDriver<ContentComment, CommentClientModel>,
        ISavableDriver<ContentComment, CommentClientModel>
    {
        bool HasPermission(EntityPermission permission, ContentComment contentComment = null, Guid? threadId = null);

        PageListClient<CommentClientModel> PagingMyClientComments(int pageIndex, int pageSize, string sort);

    }
}